QT += core gui xml
TEMPLATE = lib
CONFIG += staticlib
SOURCES += transliterator.cpp teiheader.cpp
HEADERS += transliterator.h teiheader.h
TARGET = $$qtLibraryTarget(abhidhaana)


unix {
  isEmpty(PREFIX) {
    PREFIX = /usr
  }
  BINDIR = $$PREFIX/lib

  INSTALLS += target headers pkgconfig

  target.path =$$BINDIR

  headers.path = $$PREFIX/include/libabhidhaana
  headers.files += $$PWD/teiheader.h $$PWD/transliterator.h
  pkgconfig.path = $$PREFIX/lib/pkgconfig
  pkgconfig.files += $$PWD/libabhidhaana.pc
}
